package com.ideasindustry.photoontaje.service.providers;

import com.ideasindustry.photoontaje.api.PictureLightVO;

/**
 * An Listener interface for PictureProvider iterate method. On each image found
 * in the picture repository, all the instances of this interface, added to the
 * PictureProvider trough the method addListener will be called
 * 
 * 
 * @author Tiberiu Corbu
 * 
 */
public interface PictureIteratorListener {

	/**
	 * The method is called when the next picture referenced is found in the
	 * picture repository
	 * 
	 * @param picture
	 *            the picture entry reference in the picture provider
	 */
	public void nextPicture(PictureLightVO picture);

}
